package com.wondertek.service.dto.business.req;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 *
 */
@Data
public class AccessoryAddReq{

    /*
     * 配件编号
     * */
//    @Schema(name = "accessoryCode",description = "配件编号")
//    @NotBlank(message="accessory.code.not.null")
//    private String deviceSn;

    /*
     * 配件编号
     * */
    @Schema(name = "accessoryCode",description = "配件编号")
    @NotBlank(message="accessory.code.not.null")
    private String accessoryCode;

    /*
     * 配件名称
     * */
    @Schema(name = "accessoryName",description = "配件名称")
    @NotBlank(message="accessory.code.name.null")
    private String accessoryName;

    /*
     * 分区id
     * */
    @Schema(name = "roomId",description = "分区id")
    @NotBlank(message = "room.id.not.null")
    private String roomId;

    @Schema(name = "snCode",description = "sn码")
    private String snCode;

    @Schema(name = "skCode",description = "sk码")
    private String skCode;

    @Schema(name = "accessoryType",description = "1-烟感，2-无线键盘，3-室外信号，4-门磁，5-升级门磁，6-pir相机，7-智能监控相机，8-Alarm KIT")
    @NotBlank(message="type.not.null")
    private String accessoryType;


}

